<script>
export default {
  created () {
    // 调用API从本地缓存中获取数据
    const logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)

    console.log('app created and cache logs by setStorageSync')
  }
}
</script>

<style>
  @font-face {
    font-family: 'iconfont';
    src: url(data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAANUAA0AAAAAB6gAAAL/AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GVgCDDhEICoI0ghMLDgABNgIkAxQEIAWFCAdEG5IGyB6FcZsTipBmlSo4PDlr4qHc79+zm9x8BkVFEg4VgerUAWmSQKosDCnRqa8jS2DE8+H1qveTFSvLSYbsFuBZnYtGHHRbHsAC/DfiVE02cDR3n21xSromjgmytVcLlYsFKpULtG1sG0vrU6ikNe2AOzMvUDMWQsDHE+ttgC+J/v3cvgmGMQtSKDqhIhFVPGFJPsp7gMfA5+M/EsOG1BVc36PnS4aR/0v+f9GjmyHcDwSgQ8EWUHESAQ/RAlvQBnGShQ2gqUL+kj+70Qu01sLaQiUIYBjsAVC83bJB4dcNnWpMqumIJoAYCd7fQyAuH70SNDCMijPgLoAKgBByMcTB4fqcITw799wn/haGkVPMZoj9yc2cefT0OZPQYGgeMTZcSN+2YeTlzMmh+fVke+70XNjm2xkSEmI2t5l8pI3GFq3QfcrUSsTTLvMDDIYbn8Or/Pbmbt2v9G8EE9mF56X6oLh3+RYyBG43WI6/Ov6+3ZcPbtNbh7InjiptXchNF7tLt0+4eZ3w6XPq1znD16/Au/3lwS16u2x9uI1/l08O/XhtVWld9ff14aHDQ39fWtdYlv94c6p9KZukSqjC4png4JIZqpAqLpsCIBAsdQ8vnHPO/mozVI2e6Tq4lpP5DtAvQdDjH6gCylsEAFAroKJy3YoOBM1aFEgMGkQPwKQ9EMCMaASEfrCY+lzTUPR7QFb2FTpD3qPp9xWDNkfh5CFTsYUWdQCbAEAYV4g06iyKcWqysivozDqPZtxDDDrt1eAh60ICO3spMAaoVPUwf4P0Zr4hUhJsFxU7Bk/n28uq/dr35ggUhfNk4DgGR01kgAJe2ubUv3PKfBpDQYnf6C9BrHg43Gs/ITY+LHmwswRDUc1dlDQ4iVRUWP5YClJi/krj+AZDRETKn4yClABjiEosnC2oVWq4RJWKPUC0b4u1t9S8LxBOAxeT700mU5w4bMLpWENZRrAFH2FD2xtA3wzZikFsx4aQkVGitht8nnpAYi3jSziRWmIl/C+EoBQA) format('woff2'),
    url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAVgAA0AAAAAB6gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAFRAAAABoAAAAchghnyUdERUYAAAUkAAAAHgAAAB4AKQAMT1MvMgAAAaAAAABDAAAAVjzfYfFjbWFwAAAB+AAAAGoAAAGO50mFoGdhc3AAAAUcAAAACAAAAAj//wADZ2x5ZgAAAnQAAAEmAAABNJ5EqUJoZWFkAAABMAAAADAAAAA2E4CEvGhoZWEAAAFgAAAAHQAAACQHgwOFaG10eAAAAeQAAAATAAAAFAyQANBsb2NhAAACZAAAAA4AAAAOAMoAbG1heHAAAAGAAAAAHgAAACABEgAxbmFtZQAAA5wAAAFJAAACiCnmEVVwb3N0AAAE6AAAADIAAABEJF46jXjaY2BkYGAAYgPWMwzx/DZfGbhZGEDghpFCApyOZBBkXsr0DsjlYGACiQIA1u8H0njaY2BkYGBu+N/AEMPCAALMSxkYGVABCwBTNQMRAAAAeNpjYGRgYGBjUGVgYgABEMkFhAwM/8F8BgAMtwFEAAB42mNgZGFgnMDAysDA1Ml0hoGBoR9CM75mMGLkAIoysDIzYAUBaa4pDA7PCv//Z27438AQw9zA0AAUZgTJAQD44w1kAHjaY2GAABYILmeYwBAJAAUQAW0AeNpjYGBgZWBgYAZiHSBmAeIQBkYGEOgAijKCxZkZuMDiLAwaQJoNSDMyMD0rfLbr/38GBggtOUnSC6qPgYEHTJpAecwgNRAMZu+CYKAp/AxMYAx2AyMbA9wARpAYEwMqYGQY9gAAKFITRgAAAAAAAAAAAAAAMABsAJoAAHjaJY2xTsJQGIX//97b22orbRNoQdJSLEkxJGjFtFN1aCAY0MHNh3D2CdCwuWGiA4s6uLP4BLLUkWcwyM5g9apnOd85ywcIVxDQMVlABQB3uI5BW5TMizZadseKMToUD3ltDt3dpjM4H7pJgg29xMom+kniDMjCq7Vabt2rpS9p/q4jmrgv0K2DCMItmPSSrKAhRgHlomVzOSrxkgCrcxCHURwdo4t2WMMjjNuI+X3GkqhcJ1vqhmVXq4ZRNCoFTzedh4yxjKzofHI6ChvbiIqxqVMmUSZzVeIECXu7m8x/vQQuYI8+khmoYP+bheNPQNsYCBCzgPj9tJaVfDrNFb5+9vqUdn2/R2mfzLTlYLjUtI+zk8+vtXTdS8eSNE67N/ADc4I7oQAAeNp9kD1OAzEQhZ/zByQSQiCoXVEA2vyUKRMp9Ailo0g23pBo1155nUg5AS0VB6DlGByAGyDRcgpelkmTImvt6PObmeexAZzjGwr/3yXuhBWO8ShcwREy4Sr1F+Ea+V24jhY+hRvUf4SbuFUD4RYu1BsdVO2Eu5vSbcsKZxgIV3CKJ+Eq9ZVwjfwqXMcVPoQb1L+EmxjjV7iFa2WpDOFhMEFgnEFjig3jAjEcLJIyBtahOfRmEsxMTzd6ETubOBso71dilwMeaDnngCntPbdmvkon/mDLgdSYbh4FS7YpjS4idCgbXyyc1d2oc7D9nu22tNi/a4E1x+xRDWzU/D3bM9JIbAyvkJI18jK3pBJTj2hrrPG7ZynW814IiU68y/SIx5o0dTr3bmniwOLn8owcfbS5kj33qBw+Y1kIeb/dTsQgil2GP5PYcRkAAAB42mNgYoAALjDJyIAO2MCiTIxMjMyMLGwVmRmliXnsBZl56TmleWzZiXnppfkAX4UIRQAAAAAAAf//AAIAAQAAAAwAAAAWAAAAAgABAAMABQABAAQAAAACAAAAAHjaY2BgYGQAgqtL1DlA9A0jhQQYDQA1xwS+AAA=) format('woff');
    font-weight: normal;
    font-style: normal;
  }
  .iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    align-items:center;
  }


  .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
}
/* this rule will be remove */
* {
  transition: width 2s;
  -moz-transition: width 2s;
  -webkit-transition: width 2s;
  -o-transition: width 2s;
}


</style>
